<%--
  Created by IntelliJ IDEA.
  User: dailyblue
  Date: 2024/1/21
  Time: 17:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>四大容器</title>
</head>
<body>
<h3>7-2</h3>
<%
    Object a = pageContext.getAttribute("A", 1);
    Object b = request.getAttribute("A");
    Object c = session.getAttribute("A");
    Object d = application.getAttribute("A");
    out.print("page:" + a + "<br/>");
    out.print("request:" + b + "<br/>");
    out.print("session:" + c + "<br/>");
    out.print("application:" + d + "<br/>");
%>
</body>
</html>